<?php
namespace app\common\model;

class UserWalletDynamic extends \think\Model {
	protected $table = 'league_user_wallet_dynamic';

	public function getStatusAttr($value) {
		$status = [
			0 => '正常',
			2 => '提现审核中',
			8 => '超时无法提现',
			9 => '提现完成'
		];

		return $status[$value];
	}

	public function getTypeAttr($value) {
		$status = ['', '奖励'];

		return $status[$value];
	}
}
?>